From 41888c88b51bcdc82ec525f3a1cba80aa6ad048b Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Mon, 16 Jul 2007 02:16:00 +0000 Subject: [PATCH] (bookmark-show-all-annotations): Make sure each inserted annotation ends with newline. --- lisp/bookmark.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 75c4826ae0b..5dc783d13d9 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1816,7 +1816,8 @@ if an annotation exists." (if (and ann (not (string-equal ann ""))) ;; insert the annotation, indented by 4 spaces. (progn - (save-excursion (insert ann)) + (save-excursion (insert ann) (unless (bolp) + (insert "\n"))) (while (< (point) (point-max)) (beginning-of-line) ; paranoia (insert " ") -- 2.30.2